package com.mzz.structure.flyweight;

/**
 *
 * @author xushijian
 * @date 18/5/24 上午11:40
 */
public class ConcurrentWebSite extends WebSite {

    public ConcurrentWebSite(String type) {
        super(type);
    }

    @Override
    public void use(User user) {

        System.out.println("使用网站类型：" + type);
        System.out.println("用户名：" + user.getUsername());
        System.out.println("密码：" + user.getPwd());

    }
}
